﻿body {
    margin: 0;
    background: #0B4482 url(def/all-bg.png);
    overflow: hidden;
}
* {
    font-family: Calibri, Verdana, Tahoma;
    font-size: 14px;
}
img {
    border: 0;
}
.vbg {
    background: url(def/v-bg.png) repeat-x;
}
.icon {
    background: url(def/icons.png) no-repeat;
}
a:link, a:visited {
    color: black;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.t_number, .t_date, .t_datetime, .t_ascii, .t_code, .t_phone {
    font-family: Consolas, Lucida Console;
}


------------------------------------------------------------------------------ {
    comment: top/bottom区域;
}

.top {
    position: relative;
    height: 96px;
}
.top_logo {
    position: absolute;
    width: 120px;
    height: 90px;
    background-position: 12px 12px;
}
.top_title {
    position: absolute;
    left: 130px;
    width: 440px;
    height: 94px;
    background-position: 0px -80px;
}
.top_right {
    position: absolute;
    top: 12px;
    right: 10px;
    height: 80px;
    width: 170px;
    background-position: -115px 0px;
}
.top_spliter {
    height: 5px;
    clear: both;
    background: #92B5D1 url(def/hi-bg.png);
}
.bottom {
    background: url(def/hi-bg.png);
    line-height: 20px;
    padding: 0 16px 0 5px;
    font-family: 微软雅黑;
    text-align: center;
}
.bottom .browser_tip {
    line-height: 20px;
    font-size: 12px;
    color: #0b4482;
}
span.copyright {
    font-family: 微软雅黑;
    display: inline-block;
    float: right;
    margin-right: 6px;
    line-height: 24px;
    color: #DEE4EA;
}

------------------------------------------------------------------------------ {
    comment: top消息区域;
}
.top_info {
    height: 28px;
    background-position: 0px -95px;
}
.top_arrow {
    width: 24px;
    height: 24px;
    float: left;
    margin-right: 5px;
    cursor: pointer;
}
.top_arrow.to_left {
    margin-left: 156px;
    background-position: -17px -197px;
}
.top_arrow.to_right {
    margin-left: 0;
    background-position: -50px -197px;
}
.top_loading {
    float: left;
    padding-top: 1px;
}
.top_loading > * {
    float: left;
}
.top_loading img {
    width: 24px;
    height: 24px;
}
.top_loading .progress_message {
    margin-left: 10px;
    line-height: 26px;
    color: #CDDBEA;
}

------------------------------------------------------------------------------ {
    comment: 左侧区域;
}
table.main_area {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    border-bottom: 2px solid #90AFD1;
    overflow: hidden;
}
table.main_area td {
    padding: 0;
}
.left_area {
    width: 180px;
}
.left_spliter {
    width: 5px;
    background: #92B5D1 url(def/hi-bg.png);
}
.user_panel {
    position: relative;
    height: 65px;
    background-position: 0px -151px;
}
.user_photo_frame {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 52px;
    height: 52px;
    border: 1px solid #0B4482;
}
.user_photo {
    border: 1px solid #CAD9E9;
    width: 50px;
    height: 50px;
}
.user_name {
    position: absolute;
    font-weight: bold;
    left: 72px;
    top: 10px;
}
.user_panel .button {
    position: absolute;
    top: 34px;
    background-image: url(def/icons.png);
    background-repeat: no-repeat;
    border: 0;
    height: 25px;
    cursor: pointer;
}
.user_info_button {
    left: 64px;
    width: 34px;
    background-position: -246px -200px;
}
.user_info_button.hover {
    background-position: -294px -200px;
}
.user_exit_button {
    left: 99px;
    width: 31px;
    padding-left: 24px;
    line-height: 27px;
    font-size: 12px;
    background-position: -85px -200px;
}
.user_exit_button.hover {
    background-position: -175px -200px;
}
.menu_panel {
    padding: 16px 0;
    height: 540px;
    overflow: auto;
}
.menu_panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu_panel li {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: none;
    color: #E0E5EA;
    line-height: 28px;
    cursor: pointer;
}
.menu_panel li.hover, .menu_panel li.selected {
    background: url(def/v-bg.png) repeat-x 0px -216px;
}
.menu_panel li.group {
    padding: 0;
}
.menu_panel li.group div {
    padding-left: 16px;
}
.menu_panel li.group li {
    padding-left: 32px;
}
.menu_panel li.group div.hover, .menu_panel li.group div.selected {
    background: url(def/v-bg.png) repeat-x 0px -216px;
    color: White;
}
li.spliter {
    background: url(def/icons.png) no-repeat -268px -26px;
    height: 20px;
    cursor: auto;
}

------------------------------------------------------------------------------ {
    comment: 内容区;
}
td.content_area {
    color: #444;
    background: url(def/li-bg.png);
}
div.content_div {
    overflow: hidden;
}
.align_left {
    text-align: left;
}
.align_right {
    text-align: right;
}
.align_center {
    text-align: center;
}
.ctrl_bar .button {
    color: #000;
    cursor: default;
    display: inline-block;
    background: url(def/v-bg.png) repeat-x 0px -66px;
    border: 1px solid #8C8C8C;
    padding: 0 7px;
    margin: 3px 5px 0 0;
    height: 20px;
    line-height: 20px;
}
.ctrl_bar .end_group {
    margin-right: 20px;
}
.ctrl_bar .button.hover {
    background-position: 0 -72px;
}
.ctrl_bar .button.down {
    background-position: 0 -128px;
}
.ctrl_bar {
    position: relative;
    padding-left: 10px;
    height: 28px;
    background: url(def/v-bg.png) repeat-x 0px -123px;
}
.ctrl_bar > .page_control {
    position: absolute;
    right: 10px;
    top: 0;
    height: 28px;
}
.ctrl_bar > .page_control > a {
    color: #000;
    float: left;
    cursor: pointer;
    line-height: 29px;
    margin: 0 3px;
}
.ctrl_bar > .page_control > a.disabled {
    color: #777;
    cursor: default;
    text-decoration: none;
}
.ctrl_bar > .page_control > select {
    margin: 3px 0 0 3px;
    vertical-align: middle;
    padding: 1px;
}

------------------------------------------------------------------------------ {
    comment: 查询面板;
}
.query_bar {
    height: 40px;
}
.query_bar > div {
    border: 1px solid #999;
    float: left;
    margin: 8px 0 0 8px;
    height: 20px;
    padding: 2px 5px 5px;
}
.query_bar input {
    margin-left: 5px;
    border: 1px solid #ccc;
}

------------------------------------------------------------------------------ {
    comment: 列表列表;
}
.grid_container {
    overflow-x: auto;
    overflow-y: hidden;
}
table.data_grid {
    margin: 10px;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid #868686;
}
table.data_grid tr.header {
    background: url(def/v-bg.png) repeat-x 0px -256px;
    color: #000;
}
table.data_grid tr.hover {
    background: #4D87C1;
    color: white;
}
table.data_grid tr.hover a {
    color: white;
}
table.data_grid tr.hover td {
    border-color: #43719E;
}
table.data_grid th, table.data_grid td {
    padding: 0 5px;
    border: 1px solid #868686;
    line-height: 24px;
}
table.data_grid .t_datetime, table.data_grid .t_code {
    text-align: center;
}
table.data_grid .t_number, table.data_grid .t_decimal {
    text-align: right;
}
table.data_grid .align_left {
    text-align: left;
}
table.data_grid .align_right {
    text-align: right;
}
table.data_grid .align_center {
    text-align: center;
}
table.data_grid .c_checkbox {
    width: 20px;
    text-align: center;
}
table.data_grid .c_edit {
    width: 30px;
    text-align: center;
}
table.data_grid .icon_link {
    display: inline-block;
    text-decoration: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

------------------------------------------------------------------------------ {
    comment: 编辑页面;
}
table.data_edit {
    width: auto;
    margin: 10px;
    table-layout: fixed;
    border-collapse: collapse;
}
table.data_edit th, table.data_edit td {
    padding: 0 5px;
    border: 1px solid #868686;
    line-height: 24px;
}
table.data_edit th {
    width: 160px;
    background: url(def/v-bg.png) repeat-x 0px -151px;
    color: #000;
    text-align: right;
    font-weight: normal;
}
table.data_edit td {
    padding-left: 10px;
    background: #f8f8ff;
}
table.data_edit td.readonly {
    background: transparent;
    cursor: default;
}

table.data_edit td a.button {
    color: #000;
    cursor: default;
    display: inline-block;
    background: url(def/v-bg.png) repeat-x 0px -66px;
    border: 1px solid #8C8C8C;
    padding: 0 7px;
    margin: 2px 5px 2px 0;
    height: 20px;
    line-height: 20px;
}
table.data_edit td a.button:hover, table.data_edit td a.button.hover {
    background-position: 0 -72px;
    text-decoration: none;
}
table.data_edit td input {
    width: 98%;
    background: transparent;
    border: 0;
}
table.data_edit .t_number, table.data_edit .t_decimal {
    --text-align: right;
}
table.data_edit td input[type=radio] {
    width: auto;
    border: auto;
    background: transparent;
    margin-left: 10px;
}
table.data_edit td select {
    margin-right: 10px;
}
table.data_edit td .tip {
    font-size: 12px;
    padding: 0 2px;
    border-top: 1px solid #ccc;
    padding-top: 2px;
    line-height: 16px;
    color: #5687B7;
}
table.data_edit td .tip * {
    font-size: 12px;
}
table.data_edit td .err {
    font-size: 12px;
    padding: 0 2px;
    border-top: 1px solid #fcc;
    padding-top: 2px;
    line-height: 16px;
    color: #f33;
}
table.data_edit td .err * {
    font-size: 12px;
}

------------------------------------------------------------------------------ {
    comment: 日期选择界面;
}
div#calroot {
    background: url(def/all-bg.png);
    border: 1px solid #0F4D83;
    text-align: center;
    width: 200px;
}
div#calhead {
    margin: 2px 0 0;
    text-align: center;
    height: 24px;
}
div#calhead > a {
    cursor: pointer;
    display: inline-block;
    width: 12px;
    height: 20px;
    background: url(def/icons.png) no-repeat;
}
div#calhead #caltitle {
    float: left;
    width: 155px;
    padding: 0 10px;
}
div#calhead #calmonth {
    float: right;
    width: 80px;
}
div#calhead #calyear {
    float: left;
    width: 60px;
}
div#calhead #calprev {
    background-position: -17px -197px;
    float: left;
}
div#calhead #calnext {
    background-position: -62px -197px;
    float: right;
}
div#caldays {
    height: 16px;
    clear: both;
    padding: 2px;
    background: url(def/li-bg.png);
    margin: 2px 0 0 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #0F4D83;
}
div#caldays > span {
    display: inline-block;
    width: 26px;
    text-align: center;
}
div#calweeks {
    padding: 3px 2px;
    background: url(def/hi-bg.png);
}
div#calweeks a {
    font-family: Consolas, Lucida Console, Calibri;
    display: inline-block;
    width: 26px;
    line-height: 16px;
    text-align: center;
    text-decoration: none;
}
div#calweeks a.caloff {
    color: #666;
}
div#calweeks a.calfocus {
    background: url(def/li-bg.png);
}
div#calweeks a:hover {
    color: white;
    background: url(def/all-bg.png);
    text-decoration: none;
}

------------------------------------------------------------------------------ {
    comment: 对话框;
}
.dialogs > div {
    min-width: 320px;
    display: none;
    background: white url(def/index/bg.png) repeat-x 0 -240px;
    border: 1px solid #0F4D83;
}
.dialogs > .dialog > div.title {
    font-size: 16px;
    font-weight: bold;
    margin: 2px;
    padding: 7px 10px 5px;
    background: url(def/all-bg.png);
    color: white;
}
.dialogs > .dialog > div.content {
    padding: 16px;
}
.dialogs > .dialog > div.buttons {
    text-align: right;
    margin: 2px;
    border-top: 1px solid #0b4482;
    padding: 12px 6px 8px 0;
}
.dialogs > .dialog > div.buttons a {
    padding: 5px;
    border: 1px solid #E3EEFA;
}
.dialogs > .dialog > div.buttons a:hover {
    text-decoration: none;
    border: 1px solid #0b4482;
}

.change_pass.dialog .content, .reset_pass.dialog .content {
    text-align: center;
}
.change_pass.dialog input, .reset_pass.dialog input {
    border: 1px solid #90AFD1;
    margin-left: 5px;
}
.change_pass.dialog th, .reset_pass.dialog th {
    font-weight: normal;
    text-align: right;
}
.perm.dialog .content {
    width: 320px;
    height: 200px;
    overflow: auto;
}
.perm.dialog ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.2em;
}
.perm.dialog li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.login.dialog .content div {
    text-align: center;
}
.login.dialog .content div.user {
    text-align: center;
    margin: 12px 0;
}
.login.dialog .content input {
    width: 120px;
    border: 1px solid #90AFD1;
}

------------------------------------------------------------------------------ {
    comment: 演示;
}
.demo {
    float: right;
    margin-right: 10px;
    margin-top: 4px;
}
.demo a:link, .demo a:visited {
    color: White;
    text-decoration: none;
}
.demo a:hover {
    text-decoration: underline;
}
